/**
 * Alibaba.com.cn Inc.
 * Copyright (c) 2004-2021 All Rights Reserved.
 */
package com.yongbao.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.connection.RedisGeoCommands;

/**
 * @author zhanghong
 * @version RedisConfig.java, v 0.1 2024/3/31 20:25 下午 RedisConfig Exp $$
 */
@Configuration
public class RedisConfig {

    @Bean
    public RedisGeoCommands.GeoRadiusCommandArgs geoRadiusArgs() {
        return RedisGeoCommands.GeoRadiusCommandArgs.newGeoRadiusArgs().includeDistance();
    }
}
